﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/admin/TempAdmin.master"CodeFile="New_RepresentImage.aspx.cs" Inherits="New_RepresentImage" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<asp:Content ID="NewRepresentImage" runat="server" ContentPlaceHolderID="ContentRight">  
    <form id="newRepresentImage" runat="server">
          <asp:ScriptManager runat="server" ID="RepresentImage" runat="server"></asp:ScriptManager>
          <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
          </telerik:RadAjaxManager>
    
       <table border="1px">
        <tr>
            <td style="width:130px" align="right">
               <asp:Label ID="lblID" runat="server" ForeColor="Black" Text="Mã: "></asp:Label>
            </td>
            <td>
                <asp:Label ID="lblNewID" runat="server" ForeColor="Black" Text="Mã: "></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                 <img src="../img/pixel_trans.gif" height="10px" />
            </td>
        </tr>
        <tr>
           <td style="width:130px" align="right">
                <asp:Label ID="lblTitle" runat="server" ForeColor="Black" Text="Tiêu đề: "></asp:Label>    
            </td>
            <td>
                <asp:Label ID="lblNewTitle" runat="server" ForeColor="Black"></asp:Label>    
            </td>
        </tr>
        <tr>
            <td colspan="2">
                 <img src="../img/pixel_trans.gif" height="10px" />
            </td>
        </tr>
        <tr>
           <td style="width:130px" align="right">
                <asp:Label ID="lblOld" runat="server" ForeColor="Black" Text="Ảnh cũ: "></asp:Label>    
            </td>
            <td>
                 <asp:Image ID="imgNewRepresent" runat="server" Height="150px" Width="100px" />    
            </td>
        </tr>
        <tr>
            <td colspan="2">
                 <img src="../img/pixel_trans.gif" height="10px" />
            </td>
        </tr>
        <tr>
           <td style="width:130px" align="right">
               <asp:Label ID="lblRepresentImage" runat="server" ForeColor="Black" Text="Đường dẫn ảnh: "></asp:Label>    
           </td>
           <td>
               <telerik:RadUpload ID="RadUpload1" runat="server"                         
                    ControlObjectsVisibility="none"
                    MaxFileInputsCount="5"
                    OverwriteExistingFiles="true" 
                    TargetFolder="~/img_news" 
                    Width="282px" 
                    InputSize="25">                        
               </telerik:RadUpload>  
               <br/>
               <asp:Label ID="lblImageType" ForeColor="Black" runat="server"></asp:Label>     
           </td>
        </tr>
        <tr>
            <td colspan="2">
                 <img src="../img/pixel_trans.gif" height="10px" />
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <asp:Button ID="btnSave" Text="Sửa" runat="server" Width="58px" onclick="btnSave_Click" />
                &nbsp;&nbsp;
                <asp:Button ID="btnCancel" Text="Thoát" runat="server" Width="58px" 
                    onclick="btnCancel_Click" />
            </td>
        </tr>
    </table>   
    </form>
</asp:Content>

